DocumentReference System API - Implementation Template (US Core)
Custom object creation
DocumentReference
To create a custom object in Health Cloud (HealthCloudGA_EhrDocumentReference__c):
- From Health Cloud in the upper right corner, click the settings (gear) icon.
- Click Setup.
- From the Home tab in the left menu, expand 'Objects and Fields' and then click Object Manager.
- In the upper right corner, click the Create dropdown and then select 'Custom Object'.
- Set the following:
- Label: Document Reference
- Plural Label: Document References
- Object Name: HealthCloudGA_EhrDocumentReference
- Description: Custom DiagnosticReport object
- Record Name: Name
- Data Type: Text
- Deployment Status: In Development (Recommended when setting up; set to Deployed when ready to use.)
- Click Save.
- In the 'Fields and Relationships' page, use the 'New' button and then create the following fields:
Field Label | Field Name | Data Type |
---|---|---|
Content Title | Content_Title__c | Text(100) |
Content Type | Content_Type__c | Text(100) |
Content URL | Content_URL__c | Text(100) |
Created By | CreatedById | Lookup(User) |
Created Date | Created_Date__c | Date/Time |
custodian | Account__c | Lookup(Account) |
Description | Description__c | Text(100) |
Document Category Code | Document_Category_Code__c | Text(100) |
Document Category Label | Document_Category_Label__c | Text(100) |
Document Category System | Document_Category_System__c | Text(100) |
Document Format Code | Document_Format_Code__c | Text(100) |
Document Format Label | Document_Format_Label__c | Text(100) |
Document Format System | Document_Format_System__c | Text(100) |
Document Kind Code | Document_Kind_Code__c | Text(100) |
Document Kind Label | Document_Kind_Label__c | Text(100) |
Document Kind System | documentKindSystem__c | Text(100) |
Document Status | docStatus__c | Picklist (preliminary, final, amended,entered-in-errordocStatus) |
EHR Document Reference | Name | Text(80) |
Encounter | Encounter__c | Lookup(EHR Encounter) |
Last Modified By | LastModifiedById | Lookup(User) |
Owner | OwnerId | Lookup(User,Group) |
Patient | Patient__c | Lookup(EHR Patient) |
Practitioner | Practitioner__c | Lookup(EHR Practitioner) |
Source System | HealthCloudGA_Source_System__c | Text(64) |
Source System Id | HealthCloudGA_SourceSystemId__c | Text Area(255) |
Source System Modified | HealthCloudGA_Source_System_Modified__c | Date/Time |
status | status__c | Picklist (current,superseded,entered-in-error) |